//
//  MMTextAttachment.m
//  testTextKit
//
//  Created by luodengfeng on 14-11-26.
//  Copyright (c) 2014年 GG. All rights reserved.
//

#import "MMTextAttachment.h"

@implementation MMTextAttachment
- (CGRect)attachmentBoundsForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(CGRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex NS_AVAILABLE_IOS(7_0)

{
    
    return CGRectMake( 0 , 0 , lineFrag.size.height, lineFrag.size.height);
    
}
@end
